import request from '@/utils/request'

// 查询抗体药物列表
export function listTdmKangTiYaoWu(query) {
  return request({
    url: '/tdm/TdmKangTiYaoWu/list',
    method: 'get',
    params: query
  })
}

// 查询抗体药物详细
export function getTdmKangTiYaoWu(id) {
  return request({
    url: '/tdm/TdmKangTiYaoWu/' + id,
    method: 'get'
  })
}

// 新增抗体药物
export function addTdmKangTiYaoWu(data) {
  return request({
    url: '/tdm/TdmKangTiYaoWu',
    method: 'post',
    data: data
  })
}

// 修改抗体药物
export function updateTdmKangTiYaoWu(data) {
  return request({
    url: '/tdm/TdmKangTiYaoWu',
    method: 'put',
    data: data
  })
}

// 删除抗体药物
export function delTdmKangTiYaoWu(id) {
  return request({
    url: '/tdm/TdmKangTiYaoWu/' + id,
    method: 'delete'
  })
}
// 审核
export function to_examine(id,shenHe,pinZhong) {
  const data = {id, shenHe,pinZhong}
  return request({
    url: '/admin/examine',
    method: 'put',
    data:data
  })
}
